From 478043a1ed8f6ba8e14d0a704afb0e69d4599e15 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 18 Nov 2005 19:56:52 +0000 Subject: [PATCH] Fix a C99ism. (#321777, Jens Granseuer) 2005-11-18 Matthias Clasen * gtk/gtkpathbar.c (button_clicked_cb): Fix a C99ism. (#321777, Jens Granseuer) --- ChangeLog | 3 +++ ChangeLog.pre-2-10 | 3 +++ gtk/gtkpathbar.c | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b672f3a6ec..e65c94be58 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2005-11-18 Matthias Clasen + * gtk/gtkpathbar.c (button_clicked_cb): Fix a C99ism. + (#321777, Jens Granseuer) + * gtk/gtkaction.c (disconnect_proxy): Disconnect the sync callback for the visibility property. (#321761, Philip Langdale) diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index b672f3a6ec..e65c94be58 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,8 @@ 2005-11-18 Matthias Clasen + * gtk/gtkpathbar.c (button_clicked_cb): Fix a C99ism. + (#321777, Jens Granseuer) + * gtk/gtkaction.c (disconnect_proxy): Disconnect the sync callback for the visibility property. (#321761, Philip Langdale) diff --git a/gtk/gtkpathbar.c b/gtk/gtkpathbar.c index ff99f52b43..cf8e802676 100644 --- a/gtk/gtkpathbar.c +++ b/gtk/gtkpathbar.c @@ -931,6 +931,7 @@ button_clicked_cb (GtkWidget *button, GtkPathBar *path_bar; GList *button_list; gboolean child_is_hidden; + GtkFilePath *child_path; button_data = BUTTON_DATA (data); if (button_data->ignore_changes) @@ -943,7 +944,6 @@ button_clicked_cb (GtkWidget *button, gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), TRUE); - GtkFilePath *child_path; if (button_list->prev) { ButtonData *child_data; -- 2.30.2